package 每日一题;

public class 删除链表中的结点 {
    public void deleteNode(ListNode node) {
        if (node.next == null)
            return;
        ListNode next = node.next;
        node.val  = next.val;
        node.next = next.next;
    }
}
